# import requests
#
# dict11 ={"name":"alex",
#         "dict0":'{"1":"1","2":"2","3":"3"}',
#         "dic":'{"name":"alex","gender":"女"}',
#          }
# # l = list(k for k in dict11.keys())
# # print(l)
# url='xxxxx'
# r=requests.post(url,json={"ids":["xxxx"]},
# headers={'content-type':"application/json"})
# m = r.json()
# fm=[]
# baseBictList=['name','dict0','dic','job']
# for d in m['date']:
#        fm.append(d.keys())
# if (i for i in baseBictList if i not in fm):
#        print("字段%s缺失"%i)

dict0={"1":"1","2":"2","3":"3"}
dict01 ={"1":"1","2":"2","3":"3","4":"4","5":"5"}

if dict0:
       for k in list(i for i in dict01.keys() if i not in dict0.keys()):
              print("字段%s缺失"%k)
else:
       print("dict0中全部内容为空")


a = 2
result='小明' if a==1 else '小高'
print(result)

def func(arg):
       return arg+1
print(func(6))
a = lambda args : args+1
print(a(9))

